Learn about the relevant sorting feature and how you can use it to provide more relevant results for users.
relevancyStrictness
on a virtual replica.customRanking
criteria.optionalFilters
, don’t affect result ordering.
If multiple results have the same value for a sorting attribute, the other sorting attributes are used to decide which one comes first. For example, if you sort according to price and then popularity, and three results have the same cost, the engine will prioritize them according to their popularity score.
relevancyStrictness
set to 0 can’t mimic the exhaustive sorting of a standard replica because it doesn’t use the same algorithm. Be aware that a virtual replica:
ranking
on virtual replicas but can use customRanking
to define the sort criteria.
sortBy
UI widget.
To ensure users understand how relevant sort works and how they can control their experience:
relevantSort
widget: